home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / dvips / local.mk < prev    next >
Encoding:
Makefile  |  1990-11-10  |  2.7 KB  |  90 lines

  1. #
  2. # This file is included by Makefile.  Makefile is generated automatically
  3. # by mkmf, and this file provides additional local personalization.  The
  4. # variable SYSMAKEFILE is provided by Makefile;  it's a system Makefile
  5. # that must be included to set up various compilation stuff.
  6. #
  7.  
  8. # where the TFM files go
  9. TFMDIR = /sprite/lib/fonts/tfm
  10. # the default path to search for TFM files 
  11. # (this usually is identical to TeX's defaultfontpath, which omits `.')
  12. # (private fonts are given an explicit directory, which overrides the path)
  13. # TFMPATH = /LocalLibrary/Fonts/TeXFonts/tfm:$(TFMDIR)
  14. TFMPATH = $(TFMDIR)
  15.  
  16. # where the PK files go
  17. # PKDIR = /usr/lib/tex/fonts/pk
  18. PKDIR = /sprite/lib/fonts/pk
  19. # the default path to search for PK files (usually omits `.')
  20. # PKPATH = /LocalLibrary/Fonts/TeXFonts/pk:$(PKDIR)
  21. PKPATH = $(PKDIR)
  22.  
  23. # where the VF files go (we don't have them)
  24. # VFDIR = /usr/lib/tex/fonts/vf
  25. VFDIR = /tic/tex/lib-fonts/vf
  26. # the default path to search for VF files (usually omits `.')
  27. # VFPATH = /LocalLibrary/Fonts/TeXFonts/vf:$(VFDIR)
  28. VFPATH = $(VFDIR)
  29.  
  30. # where the config files go
  31. # CONFIGDIR = /usr/lib/tex/ps
  32. CONFIGDIR = /sprite/lib/ps
  33.  
  34. # the default path to search for config files
  35. # CONFIGPATH = .:$(CONFIGDIR)
  36. CONFIGPATH = .:$(CONFIGDIR):/sprite/src/cmds/dvips
  37.  
  38. # where the header PS files go
  39. # HEADERDIR = /usr/lib/tex/ps
  40. HEADERDIR = /sprite/lib/ps
  41.  
  42. # the default path to search for header files
  43. # HEADERPATH = .:$(HEADERDIR)
  44. HEADERPATH = .:$(HEADERDIR)
  45.  
  46. # where epsf.tex and rotate.tex go (usually the TeX macros directory)
  47. # TEXMACRODIR = /usr/lib/tex/inputs
  48. TEXMACRODIR = /sprite/lib/tex
  49.  
  50. # the default path to search for epsf and psfiles
  51. # (usually the same as TeX's defaultinputpath)
  52. # FIGPATH = .:..:/usr/lib/tex/inputs
  53. FIGPATH = .:..:/sprite/lib/tex
  54.  
  55. # add -DDEBUG to turn on debugging capability
  56. # add -DTPIC for tpic support
  57. # - if the default resolution is not 300 dpi,
  58. # add -DEFRES=400 or whatever is required
  59. DEFS= -DTPIC -DDEBUG
  60.  
  61. # libraries to include
  62. LIBS += -lm
  63.  
  64. PATHS = -DTFMPATH=\"$(TFMPATH)\" \
  65.     -DPKPATH=\"$(PKPATH)\" \
  66.     -DVFPATH=\"$(VFPATH)\" \
  67.     -DHEADERPATH=\"$(HEADERPATH)\" \
  68.     -DCONFIGPATH=\"$(CONFIGPATH)\" \
  69.     -DFIGPATH=\"$(FIGPATH)\"
  70.  
  71. CFLAGS += $(DEFS) $(PATHS) 
  72.  
  73. #include    <$(SYSMAKEFILE)>
  74.  
  75.  
  76. # Note: check out Makefile.orig for the commands to create *.pro from *.lpro
  77. # using "squeeze".  This stuff doesn't fit into the sprite mkmf format well
  78. # so only the install commands are being included in local.mk
  79. #
  80. install ::
  81.     $(UPDATE) -m 644 tex.pro $(HEADERDIR)
  82.     $(UPDATE) -m 644 texc.pro $(HEADERDIR)
  83.     $(UPDATE) -m 644 texps.pro $(HEADERDIR)
  84.     $(UPDATE) -m 644 special.pro $(HEADERDIR)
  85.     $(UPDATE) -m 644 config.ps $(CONFIGDIR)
  86.     $(UPDATE) -m 644 psfonts.map $(CONFIGDIR)
  87.     $(UPDATE) -m 644 epsf.tex $(TEXMACRODIR)
  88.     $(UPDATE) -m 644 rotate.tex $(TEXMACRODIR)
  89.